getting rid of annoying warning