fixing stitching problems