replace new Uri.fromString by Uri.parse, used in code gen