Fix variable name mismatch