checking if download object is null