fixed adding and deleting teams in view