simplify variable reference getter