cleanup surface on media end