remove RESOURCE_NAME_MAP