work around regression in ruby head