fixed a bug (NPE) in logress_iter.
Merge pull request #13 from myui/hotfixes

fixed a bug (NPE) in logress_iter.