fix team repos bug