Fixed some syntax issues