fix thumbnail generation. finally, i think