fix minor typos in function comment