fixed an entity