fix bugs in noise checking(device_id)