Lines crossing IDL fix