fixed leave event button