display a message if name is too long