bugfix if showing image