Fix bug: direct entering an article url causes state incorrect