fix main page exporter