fix deviceid