fixed the listing of posts