some changes for wifi, it is not working yet