minor changes: fix typo, move comment to right place