fixed old variable reference