remove old task definition.