evaluation fix to select min