Fixed /leave and team duplication