Fixed a few syntax problems