fix ie8 histroy hack