delete unnecessary mappings