dealt with clang's wargnings