add device name check