fixed pagination issue

Signed-off-by: TomWu <phperwuhan@gmail.com>