Fixed /leave and team duplication
Rm unused import
Formatting