fixed thumbnails displaying when they shouldn't