remove plotting macro