fix url spaces with dashes