Thanks, it resolves my issue with the csv generation