removed uninitialized access errors