use the right device name method