feature to hide warning message