fix page crashes for repeating mappings (brought up in #135)