remove the if check and just set it directly every time
docs for `accept` option