corrects typos in routes