Fix var double definition