refactored typos