remove Category and all its references