reverted windows fix and added new fix

stupid windows