fix bug in wxwx