fixed some parens and typos