Fixed some syntax errors (not all)