replace coding, rather than remove to avoid skewing line numbers