Remove unneccesary slashes from urls