fixes in page image viewer