Revert "fixed wrong variable name"

This reverts commit af8523f7ad050715fddc44a1e953f5e0eff62688.