Fixed index pager bugs