fix section switch bug and paginator bug.