correct display of preview image