correct typo and fix an invalid default.