fix paths in history