added hex sprintf to compare wtf windows is doing