Fix in ruby