making wc-mode work