Fix a comparison syntax error
Fix variable names