Fixed issue with delete headend