fix window style

Windows should be initialized with style name.