forgot to bing OnClose events