fix bad command byte because the new data length was too long