major multiple pages export error fix