correctly passing through headers