set header before any call to it