fixing a bug in category/new