fixded bug occuring when downloading media with head=False