Fixed some major syntax issues