Fixed team bug

back/forth, canceling actions needs to be done as well