fixed bug in category-page rating system