fix warning report by clang