fix uri resolver