get rid of console error