remove previous test codes for hex compact encode