Updated
Fixed invalid debug message
Fixed wrong error messages in CSV export