fix header cookie