Spelling mistake and dead code