Fix typo
Removed dead code