Fixed incorrect variable name ref