style
better place for isDisposed check