corrections on paths for saving and loading