fix the min max for the popup of the export