fixed category.rb