clean up of condition replacer