clean up on WSD text