fixed post iterator and pass all test cases in cases.txt