Minor bugfix

- Control if the parameter comes with / at the end.