attempt to fix thumbnails plugin