bugfix for rvm type