fix bug on csv serializer