Cleanup internal error response