clean up console error