bugfix: tmp lines deleted