fix next previous links