bugfix: image viewer if empty image