hide messages but not errors