Fix saveArticles definition errors