delete StatControl and image