fix hex format for windows.