remove previous registered mapping