removed multiple write headers warning