check device version