fix rhive.mrapply() bug