trailing slash bugfix

...his and remove trailing slash