Fixing hex parsing for the 3-digit form