Fix error about yield return