included the first page break fix, courtesy of Tim and Sebastian