simplify hex format modifier