fix default parser in multithreaded mode