new patch: fix clang init order issue