bugfix headings for toc compatibility

Signed-off-by: Fotis Georgatos <fotis@cern.ch>