Uninitialized field error fix.