correct variable reference