fix disposed exception in look ahead