avoid errors if contents don't match number of h1s