compiler warning fix: NULL replaced with zero numeral