fix for min/max value in TSC