fix imageviewer