fixed some bugs in the article rendering and storage.