simplify nested heading