Delete duplicate main programs