fix randomGenerate
rvm