Fix bug in turn tracker

Fix bug in turn tracker