fix typo and doc km->dg