clean up clang errors