Fixed hex parsing.