fixed bug for teamloading