bug fixed article, news repository paginate function