tried fixing bug related to categories, all cucumber and rspec tests passing