remove whitespace and outdated route