unbind window when destroying