fix choose_device.html interface