handle hiding of warning info