Reapply patches