fixing MEI page-based export (was broken)