added some moro fixes for wifi