getting rid of errors on IE