fix a bug of showing all assignment in all team