Fixed bug getting device names during list