fix for incorrect variable spelling