fix wrong sign values in case 1 computation.