Remove last / in url