Fixed parsing response method