fix stitching issue