fix pure window update