minor typo fixes as per comments on pr