fix all clang compiler warnings