fixes attempt to download before files on server