bug in wc handled