removed unnecessary code in category service