Remove whitespace from routes