Fix mismatched variable