pop correct output