scan_next_iden did not return NULL at EOS