Windows fix

Some fixes for Windows OS.
It is just a function, no need to start the name with `_`.