fixed two uninitialized value warnings from clang