fix typos
fix broken tag in old db format