The present invention related to unifying steps of sealing material so that the yield and the reliability of a liquid-crystal display device become high. In one stage, an expected profit margin of a product may be formulated as a function of its profit margin and win probability to compute its optimal profit margin. Further, it is possible to provide an improved manufacturing method of the color filter using the color liquid crystal display device.