fix some views paginate error