fix thumbnail images, closes #199