categories_controller fix (hw_1.2)