remove a minor bug in objects  removal covered by rules