fixing typo and amend descriptive code comment