CategoryController Bug Fixing