fix issue with team details editing