Fix typos and clarify comment