fixes heading hierarchy