fix database url