fix bz 1020517 - rescue missing min/max