get rid of annoying message in certian case