fixes save and load goals, transitions to index after saving route