Remove ending slash