Bug fix in static where headers where set twice.