fixed player turn bug