Remove dead code
Fix typo