Remove extra slash problem