HACK: init undef globals with zero