fix for entities that use @Entity(name=...)