Recently, Wei et al. propose a 2-out-of-2 sharing digital image scheme (SDIS) that shares a color secret image into two shadow images based on Boolean exclusive-or operation. There are three types of shadow images for Wei et al.'s SDIS: noise-like, black-and-white meaningful, and color meaningful shadow images. However, there exist some wealmesSes in Wei et al.'s SDIS: the incorrect assignment of color palette data for the color index 255, the erroneous recovery in secret image, and the partial region in shadow image revealing the cover image. In this paper, we solve the weaknesses and propose a new SDIS. Experimental results demonstrate that our scheme effectively avoids these weaknesses.