Fix to window has update