fix double slash problem