fix admin permission exporting