fix categories controller