add try  catch to avoid download crash