Added limit to paginate