fix pagebreaks

Refs #5