old ruby compat