compilation error caused by outdated thumbnails.cpp