changed entity id's form global to mod-specific