minor fix for setting thumbnails