fixed a bug which made the get_device command failed when no device where found