avoid extra diskaccess for windows