fixes typo before yield