fixing more clang warnings