fix open windows close