remove unecessary windows check