dev: make sure correct header is sent