Fixed GetDevices()