fix cleanups in som_symtab_read