removed superfluous lines from patches