Corrected one misspelling of getattr().