fixed problem with order of posts