hide the error message if the term is empty