fix a bug where bdf cmdline argument would not accept hex digits