fix: hex and string conversion