fixed bug with windows environment