fixed some warnings
fix some compilation warning while compiling with -Weverything with clang
fix some compilation warning while compiling with -Weverything with clang