cleanup old patches