send empty array device list instead of undefined