fix an issue with RVM