fix OS X output error
fix device query in ::showOutputInfo()