Fix Console Error