Fixed Console Error