bug fix and new wei client