remove head lines from merge