remove debug assertion, fix fetching remote urls