Add perPage settings into config