fixing main page and articles pages