Syntax error fixes, missing ; and )