fix minValue bug, decrease empty weight