fixex console bug