fixing window require issue for duo