bug fix to yields