fix bug history nav