typo + dead code