prefence undefined variable