reverse cleanup stack fix