fix for loading rvm