Correct saving of routes