Fixed regression crash on Linux