fixed zero pointer initialization