hide the information message when it is not needed