headers weren't getting sent correctly