added self.cur_uid to device selected