re apply patches