fixed orphaned lines