set the correct device name(unfinished)