after BC in engine, fix database config