fix error with ruby version