added a clang crash bug