[5.0] Foundation : only call once replaceIn command