Fixed up print_hex