Fixed bug that shows error when ran on windows