solved csv buffer