fix delete clone on session close and quit