Resolve problems in old database config