posts and pages fixes