fixed android history.replace problem