fix in rmg