fix manage_wie