Fix variable reference