transform and non transform csv creation fixed