handle undefined variable