fixed a windows specefic error