stop on first invalid entry