fixed player turn issue