fix an ObjectDisposedException