remove lex_packages_mem()