make sure we parse until end of file