remove some clang warnings