fixed sequence problem in teams factory