fixed variable name missmatch in  pull request #2927

I'm so so sorry for missing this in the last request.