fix bug with rvm file