convert 500 and random 4xx 3xx response to 200