fixing error in categories