try to get device id