fix var name mismatch