strip obsolete patches