fix empty device list