avoid some clang compilation warnings