correct output of category on blogposts