Fixing wrong behavior trailing slashes