fix IE no console bug