fix problem with getoutput, CAF-304