bugfix: overflow of device select