fixed syntax and typos