fix category on upload form