finishing set_lgname
many typos