fixed bug with the splitArticle function