Console Undefined Fix