fix typo in var name

A typo.

@DeepDiver1975 my IDE is not to blame, it showed correctly that it was not defined. But I was faster :speedboat: 

@PVince81