fix bug of paginate comments