Fix possible uninitialised variable access as advised by Frank.
All headlines in the documentation will be shown correctly now
updated documentation
updated documentation