fix error in adding article to db