remove the waste links