Fixed some syntax problems