potential fix to crash on windows startup