Fixed some minor syntax issues