made sure that not leaking memory on remove. may be ahead of my master branch and forgot to update.