fixed imageoutput