deal with permissions issues caused by windows