fix postorder iteration