fix startsNewPage array getting overwritten with bool