fixed a couple of variable references