correcting inconsitent class name (EntityType)