Avoids sending error message if there are no text