truncated line fix and cleaner postrm