fixing getCategory for details
Merge pull request #11 from ntschigor/master

fixing getCategory for details