fix ancient ruby