remove bagofchars w/o d3