fix some mrt into inv