fix teams controller