fixed response.body to response.text to evade error