corrected residual scaling for transform_skip
trace logging newline suppression