taking out console error