removing trailing slash when adding routes, fixes #214

fixes #214