fixed small problem with categories