Fix make_image definition