removed console error code