csv write callback should work