temporarily disable header rewriting; causing memory overflow