Fixed parsing bug in response detector