correct double var