handling when no h1 element