refactor var -> public
fix typo in comment