undefined veriable varning