check stack after output