typo fixes in generic