refactor(client) rmLastSlash