close handler changed