updated listDevices so that it works with 0.8.0