undef variables etc