resize at cmd type to 2 octets