fix for entityName