Fixed NullPointerException when adding new article