Title tag should not have been applied to variable in url.

Also added url encoding to generated urls for stops & routes.