Fix history path