cleaning up after removing the heredoc extract