fix previous and next post links