typo, remove dead code