fix some issues with image thumbnails