Corrections on write var