Fixed clang errors