repair twostack feature