avoid potential read of uninitialized memory