fix plaginate
Merge pull request #159 from Verkalets/fix_paginate

fix plaginate