Fix #14 crash on multiple section without header or footer