cond fix for windows