docimage viewer bug fix