Added command received verification

and fixed a potential bug panda :P