remove element that is already dynamically added.