fixed error in wpa