Fix of variable reference