fixed bin/hex mode selection