add debug headers to find 500er