check apple not defined.