Changes WEP fix from ivendor