update comments, fix typo