big fix to grap section names from preceeding text