fix database names