Fix typo and solve name error