Removed undefined variable reference