actually close the loop
don't use syntax matching
remove prevheaderlevel code