history back fix