fix issue with new post sorting