fix bug where sections did not have an id