fix bug of wx message