solve problems of repeat image