fix bad eq-vs-= comparison
add some more globals from rvm