Fixed syntax error with variable assignment