small change in categories controller