remove "replace" and "translude" instructions