remove Stack/Queue