fix typo and copyright issues