small fix in rmg