minor changes to hlp_rmi
?
fixed merge