better line clearing