fixed bugs with turn advancement