fix double var