improve stripping non-hex characters code from fpr