fix window style