fix team ending time