remove tailing slash from url