getting rid of annoying errors