issue fixed

I fixed the issue by having it remove the old elements instead of hiding them.