fix wid logging