tweaking headers and responses