modify wclient.c