fix context dispose problem