further bugfixes for rpy2 >= 2.4.0