correct bug about leaving button : seems to be good except multiple instance