fixed syntax errrors