removes unnecesary line in patch