fixing commands, TYPO and oath function call