add cleanup for wc