Fix typo and clarify comments