partially working fix of dave for staying on history tab