attempt to fix output image display