set default headers on allocate