fix make_thumbnail_for_notimage()