bug: forgot to use PREV_DISABLED_PAGE and NEXT_DISABLED_PAGE to format link