fixed issue with categories