Do the header_state reset in schemamanager.cpp