Fixed setting of prefix for teams