fix on session destroy