typo fixes, syntax fixes