fix various errors manage wie 7