fix typo, remove commented code