Fix ie console bug