fixing vars