Fixed Warning and hopefuly that crash on windows.