bugfix in category