import cleanup for EntityReference