replacement for windows condition also in 2.2