prevent NPE in scanner when deleting text
use the builtin reconciler