Fix plugin/admin generate CSV