fix output image path