fix database name change