fix device query in ::showOutputInfo()