Remove debug logs
Handle invalid response