slight changes in category controller