Fix extra slash problem