Fixed bug: Syntax error caused by invalid variable.