add dehex logic for hex urls