add condition in device infomation download.