fixed cascade delete for category