fixed bad packet structure parsing in arm command