handle old ruby