Revert changes and fix typo