broken variable name fix, minor tweaks