remove unnecessary Windows checks