Fix adapt headers