fix for old rubies