fix history links