add plugin redux and fix paginate