fixes uid fetch in win binary