Windows: change thyper to offset and fix error