silly if else for download retries