category fix for new file upload