make the response compatible