fix the fragment constructor, fix the download utils