Fixed an issue with windows