To modify some bug & generate the thumbnails