fix histfile for yroot