Fix using uninitialized values.