sloved a db multi-threading bug from master brance