fix wifi compiling error