temp fix for not exporting multiple media files on one page