ruby fixing