Small rmi fix.