set the correct device name(not finished)