fixing rvm check