fix make_thumb