fix DisposeOnPipelineCompleted