fix ruby client #21