hex format fix