Fix minor bug in teambuilder