fix warning on download update service
(cherry picked from commit f8f04ae26de02e809701a19bfe71f182470d6f2f)