removed mainWind property