Reset package and sheet before exporting