fixed bug in detecting invalid command response
send command example