Fixed some but not all of the syntax issues