added checks for h1 matching title