fix double slash in redirect