[#75080128] bugfix to helper class

slight bug in variable scope and calling of
method... this should fix it