fix typo
fix trivial bugs
Location isn't required.