fix prev in posts