hopefully this fixes the error dialog crash on linux