fix some rvm issues