debugging message were inverted
ensure destroying the response buffer in all cases