minor fixes to the name of variable