Remove temporary elements when done