Fixed remove method for categories