Fix uninitialized field error