linespace cleanup