fix syntax for old rubies