fix accepted headers