support hex strings that start with 0x