Fix parsing error of uri