fix clang analyzer warning