make rewriting URLs better

don't overwrite headers