fix wifi crash