Lines restoring