hide warnings on focus