minor bug & comment typo fixes