some patches for basic function of wifi UI