finish delete for categories