fix for multidb pgdb sync