fix variable reference.