clean up about-to-be-orphaned metadatas