remove patch skew