fix by comment #7
Merge pull request #7 from mincom2012/admin_implement_category

implement category