Crash when trying to exclude lines