mediaTel cleanup code