Clean up res headers