removing warnings detected by clang