fix incorrect vars