More syntax error fixes