fix up stroke errors on stroke removal