fix for export persmission check