improve post list page, and some small change in the main script