fix clang issues