remove unrelated entity's mapping in apis