patching for windows CLI users