removing trailing slash when adding routes, fixes #214