adds break if entity.name is too short