fixed RVM is not a function