Spelling correction, fixed no attribute error