removed clang-reported warnings