replace all mrt_ with inv_ in the controllers