windows: removed unneeded check