Thumbnail helper fix